Voting system to prevent fraud using blockchain technology

ABSTRACT

A voting system comprises at least one voting machine comprising: at least one voting machine processor performing voting machine operations comprising initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a genesis block hash value; creating a data structure comprising a plurality of votes and a hash value of a preceding block; determining a new block hash value of the data structure; appending a new block comprising the data structure and the new block hash value to the vote blockchain; and storing the vote blockchain in the at least one voting machine memory.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation-in-part of and claims priority to U.S. patent application Ser. No. 17/234,755, filed Apr. 19, 2021, which is a continuation of and claims priority to U.S. Patent application Ser. No. 17/133,519, filed Dec. 23, 2020, now U.S. Pat. No. 11,017,409, which is a continuation of and claims priority to U.S. Provisional Application No. 63/113,366, filed Nov. 13, 2020. The entire contents of the foregoing applications are incorporated by reference herein.

TECHNICAL FIELD

The present disclosure relates to vote tallying systems and methods. More specifically, the disclosed embodiments relate to systems and methods for preventing and detecting voting fraud using blockchain technology.

BACKGROUND

Ensuring citizen confidence in the reliability of elections is vital to functioning democracies. If citizens lose confidence in the validity of their elections, trust in society diminishes, governments lose consent of the governed, and societies fall into disarray and even war. Regardless of whether voter fraud is real or imagined, the mere appearance of conceivable voter fraud may be sufficient to erode citizens' trust in the democratic process.

However, modern democracies also demand anonymity in voting. Anonymity allows citizens to vote for unpopular candidates without fear of retribution, allowing freer debate and the possibility of outside candidates winning elections. Additionally, anonymity protects against the dangers of mobs by denying dangerous people access to voting histories and harming people who did not vote in accordance with their preferred candidate. Anonymity reduces the prospect of voter intimidation, allowing minority groups to vote freely, and accumulate sufficient votes to represent their interests.

The desires for vote security and anonymity are in tension, though. On the one hand, possible avenues of voter fraud, such as stuffing ballot boxes, tampering with reported vote tallies, or deliberate miscounting can all be eliminated with a public record of voters and their respective choices. On the other hand, anonymous voting prevents the identification of fraudulent ballots which are impossible to separate from legitimate ballots. A criminal attempting to sway an election by submitting fraudulent ballots benefits from the same anonymity that keeps citizens safe and free.

Accordingly, systems and methods are desired which ensure anonymity of legitimate voters while also providing a public and verifiable vote record, thereby increasing confidence and participation in elections.

SUMMARY

In an embodiment of the present disclosure, a voting system comprises: at least one voting machine comprising: at least one voting machine processor; and at least one non-transitory voting machine storage medium comprising instructions that, when executed by the at least one voting machine processor, cause the at least one voting machine processor to perform voting machine operations comprising: initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a voting machine identifier hash value; storing the vote blockchain in at least one voting machine memory; iteratively, for a plurality of voters: receiving a signal indicating at least one vote made by a voter; creating a data structure comprising the at least one vote and a hash value of a preceding block; determining a new block hash value of the data structure; appending a new block comprising the data structure and the new block hash value to the vote blockchain; and storing the vote blockchain in the at least one memory.

In another embodiment of the present disclosure, a computerized method of vote tallying comprises initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a voting machine identifier hash value; storing the vote blockchain in at least one voting machine memory; iteratively, for a plurality of voters: receiving a signal indicating at least one vote made by a voter; creating a data structure comprising the at least one vote and a hash value of a preceding block; calculating a hash difficulty based on a vote trend and a voter check-in rate, the vote trend representing a percentage of votes for a candidate of a plurality of candidates out of a number of preceding votes, the voter check-in rate representing a number of voters arriving during a time period, wherein the hash difficulty represents a number of characters of a hash value that match a predetermined sequence determining a new block hash value of the data structure, the new block hash value beginning with the number of characters of the predetermined sequence determined by the hash difficulty; appending a new block comprising the data structure and the new block hash value to the vote blockchain; printing a receipt with the new block hash value; and printing the new block hash value on a paper ballot scanned to provide the received signal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an illustration of devices of a voting system, consistent with embodiments of the present disclosure.

FIG. 2 is a diagram of a voting machine, consistent with embodiments of the present disclosure.

FIG. 3 is a flowchart illustrating a computerized vote tallying method, consistent with embodiments of the present disclosure.

FIG. 4 is an illustration of a vote tallying blockchain, consistent with embodiments of the present disclosure.

FIG. 5A is a diagram of a transmission of voting blocks, consistent with embodiments of the present disclosure.

FIG. 5B is a diagram of a master blockchain, consistent with embodiments of the present disclosure.

FIG. 6 is a flowchart illustrating a voter confirmation query process, consistent with embodiments of the present disclosure.

FIG. 7 is a flowchart illustrating a voter check-in confirmation method, consistent with embodiments of the present disclosure.

FIG. 8 is a flowchart illustrating a vote correction method, consistent with embodiments of the present disclosure.

FIG. 9 is a flowchart illustrating a hash difficulty determination method, consistent with embodiments of the present disclosure.

FIG. 10 is a diagram illustrating an example hash difficulty over time, consistent with embodiments of the present disclosure.

DETAILED DESCRIPTION

FIG. 1 is an illustration of devices of a voting system, consistent with embodiments of the present disclosure. FIG. 1 shows a plurality of voting check-in terminals 102A, 102B. Poll workers may use voting check-in terminals 102A, 102B to ensure that a prospective voter at a precinct is registered to vote according to, for instance, a state log. Voting check-in terminals 102A, 102B may communicate with one or more servers 108 using network 106 to access voter registration logs and verify voter identities. In some embodiments, voting check-in terminals 102A, 102B may comprise a scanner that scans a code on a mail-in ballot, for instance, and confirms that the mail-in ballot was sent by a registered voter who had requested a mail-in ballot.

Voting machines 104A, 104B of FIG. 1 are also connected to network 106. Voting machines 104A, 104B may be used to count ballots. For example, a voter may place a paper ballot into a scanner of voting machine 104A, which then scans the ballot, identifies markings on the ballot indicating the voter's selections, and record the selections. Further details of voting machines 104A, 104B will be provided subsequently.

Network 106 provides communication between voting check-in terminals 102A, 102B, and voting machines 102B, 104B. In some embodiments, voting check-in terminals 102A, 102B, and voting machines 102B, 104B may communicate with one or more servers 108 to record and access data. Network 106 may be wired or wireless, for instance, a WiFi, cellular, or ethernet connection. Network 106 may also be the Internet, and voting check-in terminals 102A, 102B, and voting machines 102B, 104B may communicate with server 108 using a secured connection.

FIG. 1 further illustrates a plurality of user devices 110. User devices 110 may be laptops, smartphones, tablets, and the like which connect to data stored on at least one server 108 via network 106. User devices 110 may have only read access to data stored on server 108.

In some embodiments, voting check-in terminals 102A, 102B, and voting machines 102B, 104B may be collocated. For example, a plurality of voting check-in terminals may be located in a polling place near a plurality of voting machines, and poll workers may use check-in terminals to verify a voter and provide a ballot to the voter, and the voter may use the voting machine to record his votes. In some embodiments, a separate machine may print voter selections, while a voting machine 104A, 104B scans the printed selections and records the selections in a memory.

FIG. 2 is a diagram of a voting machine, consistent with embodiments of the present disclosure. A voting machine according to certain embodiments of the present disclosure contains a memory 202, input/output device 204, processor 206, and network adapter 208. Voting machine 104 may store instructions that are performed by processor 206, such as instructions to perform the vote tallying methods of the present disclosure. Processor 206 may include an application-specific integrated circuit (ASIC) or graphics processing unit (GPU) configured to perform cryptographic hashing algorithms.

Voting machine 104 may also include a scanner 210. Scanner 210 may be configured to scan paper ballots and interpret markings on paper ballots as corresponding to voter selections. For example, scanner 210 may be configured to scan paper ballots having circles filled in by a voter. Scanner 210 may also be used to identify QR codes, barcodes, and the like. Scanner 210 may have sufficient resolution to allow for optical character recognition of ballots by processor 206.

Voting machine 104 may also include a receipt printer 212. Receipt printer 212 may be used to provide a receipt to a voter after the voter's ballot is scanned by voting machine 104. Further, voting machine 104 may include a ballot printer configured to print additional information on a scanned ballot. For example, after scanner 210 scans a ballot, ballot printer 214 may print information on the scanned ballot. The information may be human readable, such as letters and numbers, computer readable, such as a barcode or QR code, or both. Voting machine 104 may further comprise a bin or other secure space that collects paper ballots for record keeping. In some embodiments, voting machine 104 may receive indications of votes via network adapter 208. Further, in some embodiments, voting machine 104 may perform receipt validation functions prior to printing a receipt. For example, voting machine 104 may cause a user interface to display a hash value and an entered vote. Voting machine 104 may then cause receipt printer 212 to provide a receipt to the voter after receiving an indication confirming that the entered vote was accurately recorded, i.e., from the voter prior to the voter leaving a precinct. This may prevent voters making false allegations that their vote was miscounted, giving additional confidence in election integrity.

FIG. 3 is a flowchart illustrating a computerized vote tallying method, consistent with embodiments of the present disclosure. Process 300 of FIG. 3 may be used to create an immutable log of votes and tallies by voting machine 104. Process 300 allows voting machine 104 to create a cryptographic hash of ballots, and incorporate the cryptographic hash into subsequent data structures. Process 300 may enable creation of a blockchain illustrating a log of counted votes which may be disseminated and checked by citizens, thus bolstering confidence in vote tallies and other records.

Process 300 begins at step 302 with initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a voting machine identifier hash value. The voting machine identifier may comprise, for example, an IP address, a MAC address, a machine ID, a precinct, a geographic location, or an operator identifier, or any combination thereof. The machine identifier may also include machine configuration information, such as at least one of software version, identifiers of connected hardware components, or software update information (such as date, version, and responsible party). The voting machine identifier may also comprise election information, such as at least one of election name, candidates, issues, categories, or allowable selections and rules (such as restrictions on how many options a voter may select for a vote category). The voting machine identifier may also include event logs of the voting machine, such as error messages, access logs, and startup and shutdown times. Voting machine 104 may perform operations to conduct a cryptographic hash function. The cryptographic hash function may provide a code of fixed length in response to an input of arbitrary length. Further, it may be computationally fast to calculate the cryptographic hash but computationally impractical to determine an input having only the code. Examples of cryptographic hashing functions include SHA-256, SHA-1, MD5. This list is not exhaustive, and other cryptographic hash functions are envisioned. The genesis block may be data structure with a header comprising the hash value of the data structure. At step 304, voting machine 104 stores the vote blockchain in at least one voting machine memory. In some embodiments, the vote blockchain may be stored in a plurality of memories. For example, voting machine 104 may distribute the blockchain to a plurality of devices, such as server 108 or user devices 110.

Voting machine 104 begins counting votes at step 306. In step 306, voting machine 104 iteratively, for a plurality of voters, receives a signal indicating at least one vote made by a voter. The signal may be provided by scanner 210, for instance, and step 306 may include converting the scanned image to vote tallies, such as by identifying filled-in bubbles in a bubble sheet, or by performing optical character recognition. The signal may also be received electronically, such as from a touchscreen of the voting machine 104 or of a separate device connected electronically to voting machine 104, and a voter may indicate his votes by selecting buttons on the touchscreen. Further, the signal may be a digital message, such as email, text message, voicemail, phone call, instant message, app-based message, and the like. The signal may indicate a plurality of votes for a plurality of categories. For example, the votes may be for president, senator, congressperson, approval of a constitutional amendment or referendum, tax increase, American Idol winner, and the like.

At step 308, voting machine 104 retrieves a hash value of a preceding block in the vote blockchain, and, at step 310, creates a data structure comprising the at least one vote and a hash value of the preceding block. The data structure may be, for instance, a JSON data structure, dictionary, list, comma separate values, and the like. The data structure may also include the scanned image of the ballot, or of certain regions of the ballot, such as a region for write-in candidate submission. If the voting machine detects an entry in a region for write-in candidate submission, the voting machine may add a flag to the data structure identifying the vote and ballot for further review. The preceding block may be the block created immediately prior to the receiving of a signal at step 306. In some embodiments, voting machine 104 may confirm data of the previous block by accessing multiple copies of the previous block stored on different devices. For example, voting machine 104 may disseminate new blocks of the blockchain to a plurality of devices, such as other voting machines, servers, or user devices. Voting machine 104 may query any of the plurality of devices and retrieve the most recent block issued by voting machine 104. Voting machine 104 may compare the hash value of the block as reported by multiple sources. If the hash value matches between multiple sources, voting machine 104 may continue processing. However, if the hash value differs among the sources, this may indicate that the block has been tampered with, and voting machine 104 may issue a notification of a possible fraud. Voting machine 104 may also record the notification in the data structure, or may prevent further reception of signals. In this manner, the blockchain may have distributed and redundant storage, which can help identify fraud and increase the difficulty of tampering with vote counts or ballots, as a criminal would have to alter blockchains stored on a plurality of devices in order to change votes and vote tallies, and possible alter historical blocks saved locally on the plurality of devices. Further, in some embodiments, the data structure may comprise a time stamp, for instance of when the vote is recorded. This may provide further vote fidelity and impede fraud. That is, if votes or tallies are tampered with, the time stamps of preceding blocks stored would enable identification of a time window when fraud occurred, helping to catch a perpetrator. Additionally, voting machine 104 may perform self-audits, such as prior to dissemination of the blockchain or new blocks. For example, voting machine 104 may calculate, based on data stored in a block, an audit hash value, and compare the audit hash value to a hash value stored in the block. For instance, voting machine 104 may calculate a hash value of a data structure stored in the blockchain, and compare the calculated hash value to a stored hash value. Voting machine 104 may prevent additional blocks being added (e.g., additional votes being added) to the blockchain in response to the audit hash value not matching the stored hash value, and/or provide an error notice. Voting machine 104 may recalculate the blockchain from the genesis block to a latest block by comparing a recalculated hash value to the stored hash value. Alternatively, voting machine 104 may recalculate a subset of the blocks in the blockchain. The subset may be selected randomly. This may aid in performing a risk limiting audit.

Additionally, the vote blockchain genesis block may comprise an initial vote tally for at least one category, the initial vote tally indicating an initial number of votes that have been recorded for a corresponding category. For example, a genesis block may contain an entry showing “Candidate A: 0, Candidate B: 0”. In some scenarios, a vote tally may begin with non-zero entries. Step 308 may also comprise determining a previous vote tally by accessing the preceding block, and step 310 may include adding the at least one vote to the previous vote tally to determine a new vote tally; and creating the data structure to further comprise the new vote tally. In this way, the blockchain of the voting machine 104 may comprise a running total of the counted votes. This running total may provide voters greater insight into the counting of votes and bolster confidence that votes are counted and added correctly.

At step 312, voting machine 104 determines a new hash value of the data structure. Voting machine 104 may run the data structure through a hashing algorithm to determine the new hash value. In some embodiments, a plurality of votes may be added to a data structure prior to hashing, such as votes from, e.g., ten ballots. At step 314, voting machine 104 may append a new block comprising the data structure and the new block hash value to the vote blockchain. Step 314 may include correlating the new block and the preceding block in a memory, for instance, or numbering the new block in a sequence of the blocks of the blockchain. At step 316, voting machine 104 may store the vote blockchain, including the new block, in the at least one voting machine memory. Step 316 may also include disseminating the new block, a subset of the vote blockchain, or the entire vote blockchain to other devices, such as a plurality of user devices, allowing redundant, distributed storage of the voting log as recorded in the vote blockchain. Voting machine 104 may then return to step 306 to receive a signal indicating a subsequent vote.

In some embodiments, the voting machine 104 may further comprise a printer. If the voting machine 104 comprises a printer, process 300 may include printing a receipt, the receipt recording the new block hash value. A voter may retrieve the receipt for later vote verification. In some embodiments, a section of a hash value may be printed, such as 8 characters. The hash may also be encoded as a computer-readable code, such as a QR code. For example, after a vote is scanned and the vote added to the blockchain, voting machine 104 may provide the voter with a receipt showing the hash value corresponding to the voter's vote. The voter may keep this receipt, and verify that his vote was both counted and counted correctly by looking up the block of the blockchain corresponding to the hash value provided on the receipt. In this way, the voter may have confidence that his vote was counted, because a log exists of his vote. Additionally, the voter may know that his vote was not tampered with, because the vote resides on a blockchain having hash values. Further, the voter may verify the count of all votes by viewing the blockchain and independently checking each reported vote and hash value for correctness. Further still, the voter's entry in the blockchain will remain anonymous, as no one except the voter has the receipt showing the hash value that may be used to identify which of the blocks correspond to the particular voter. Anonymity may be emphasized to a voter in that after the voter checks-in, nothing personally-identifiable need remain on the ballot. Despite this, the unique hash value provided to the user when his vote is counted allows him to confirm his own vote.

Additionally, in some embodiments, the voting machine 104 may further comprise a printer configured to print on a paper ballot after the ballot is scanned to provide the signal indicating selections made by a voter. The printer may print the new hash value on the paper ballot, or, if ballots are processed in batches, the printer may print a hash value of a preceding block on the paper ballot, or a combination hash value based on the hash value of the preceding block and a code assigned to the ballot or provided on the ballot by the voter. Since the likelihood of two ballots residing and being counted in different blocks but having the same hash value is tremendously low due to the nature of cryptographic hash functions, printing the new hash value on the paper ballot may provide a means for further vote verification. If a discrepancy is noted in a ballot, perhaps by a voter checking to confirm that the ballot is recorded correctly in the blockchain, election workers may identify the particular ballot by the unique hash value printed on it. This may allow correction of a vote, or provide a narrow window of time when fraud could have occurred, or help troubleshoot voting machine 104 failures. In some embodiments, the hash value may be printed in a computer-readable code, such as a barcode or QR code, so that a plurality of ballots may be quickly scanned and a particular ballot isolated. Further, voting machine 104 may check ballots for hashes when scanning, which may help prevent duplicate scanning For example, voting machine 104 may analyze a scanned image of a ballot for the presence of a hash value, such as by detecting markings in a region of the ballot reserved for hash value printing. If voting machine 104 detects an existing hash of a ballot being scanned, voting machine 104 may raise an error, notify a poll worker, and/or flag the ballot in the blockchain for further review. Voting machine 104 may also perform optical character recognition on the detected printed hash and compare the detected printed hash value to other hashes in the blockchain to determine if the ballot was previously counted.

In this manner, individual voters would maintain physical receipts indicating unique hash values, and have access to the vote blockchain to determine if their vote existed. Hackers would therefore have to re-create a blockchain to match millions of paper receipts, while inserting fraudulent votes, and altering data stored in individual blocks so that the fraudulent data and real data have a hash collision (i.e., an identical hash value). Further still, if hash values are printed on paper ballots after counting, millions of paper ballots having verifiable hashes would remain in possession of government authorities. Thus, embodiments of the present disclosure provide computerized vote tallying methods that create instantly verifiable, tamper-evident, and highly fraud resistant voter logs.

However, in some scenarios, instant visibility of vote tallies may be undesirable. For example, election officials may wish to keep vote tallies secret to avoid discouragement of future voters who, seeing that their preferred candidate is losing, decide to forego voting. To provide the benefits of distributed vote blockchain duplication, while also eliminating the detriments of possible voter suppression, the blockchain may be encrypted before dissemination. For example, the blockchain may be encrypted using a private-public key pair, with the private key being held by election officials. Election officials may then distribute the key to decode the blockchain after polls close. In some embodiments, each block of a blockchain may be encrypted and distributed separately, either using the same or different keys for each block. This may further increase security of the voting tallies prior to a set announcement time, while also allowing citizens to have secured copies of voter logs on personal devices that may be decrypted after the key is publicized so that individual voters may verify voting logs.

Disseminating the blockchain to a plurality of devices has advantages that someone seeking to alter vote logs would be forced to alter many records, across many devices, each having differing security protocols, software, hardware, and user settings. Further, since the blockchain continually grows with each vote added, the alteration of many records must occur quicker than new votes are counted and added to the blockchain by the voting machine 104, including re-hashing each block. The computational difficulty of re-creating a blockchain and destroying and replacing copies saved across many user devices makes fraud nearly impossible.

FIG. 4 is an illustration of a vote tallying blockchain, consistent with embodiments of the present disclosure. Process 300 may be better understood by reference to the blockchain 402 of FIG. 4. Blockchain 402 comprises three blocks, 404, 406, and 408. Block 404 is a genesis block, comprising a body of data including machine ID, a precinct number, a timestamp, and an initialization tally. For example, block 404 shows a tally of zero votes for candidate Bobson, and zero votes for candidate Dugnut. A header of block 404 further includes a hash of the data in the body of the block. In the present example, the hash is

BAD6A3610309883B6FDC9841D816C83F24D9B6C3123AE956F3236661A1EAC500, and was obtained using the SHA-256 algorithm.

After the first block 404 is created, voting machine 104 may create a second block 406 upon receipt of a ballot. For example, the body of block 406 shows that a vote was recorded for Bobson, and the tally has been updated to show one vote for Bobson and zero votes for Dugnut as of 07:50 on Nov. 5, 2024. A footer of block 406 includes the hash provided in the header of block 404. The body and footer of block 406 may be hashed to provide the hash stored in the header of block 406.

Third block 408 includes the hash of block 406 as a footer. The body of block 408 illustrates that a vote for Dugnut was recorded at 07:55, and the tally has also been updated to show one vote for Bobson and one vote for Dugnut. The body of block 408 and the footer of block 408 (which is also the header of block 406) may be hashed to provide the header of block 408. This process may repeat indefinitely until the voting period ends. In some embodiments, the blocks may be hashed after receipt of a set number of votes, such as every ten votes. This may decrease processing time as a hash is calculated less frequently, but also reduces vote log fidelity as any of the set number of votes may be fraudulent. In some cases, this reduced vote log fidelity may help provide increased anonymity. For instance, a voting machine may receive a plurality of votes. The voting machine may hold the plurality of votes in a buffer until a threshold number of votes are collected, or until a set amount of time passes. The votes held in the buffer may then be assembled into a data structure and incorporated into the vote blockchain. In some embodiments, each vote may be associated with a code in the data structure. For instance, a voter may provide a code, such as a series of letters and/or numbers, which is stored in correlation with the voter's selections in the data structure, such as in a row with a column corresponding to the code and a column corresponding to the votes. In some embodiments, the code may be assigned, e.g., randomly, to the voter. As the block containing the voter's vote may be hashed later (e.g., after the voter leaves the precinct), the voting machine may print a receipt recording a hash value of a preceding block of the blockchain. In this manner, a voter may know that his vote is in the block subsequent to the block corresponding to the hash on his receipt. However, the receipt may omit the code corresponding to his particular vote. As a result, the voter may be unable to prove to a third party which of the votes in a particular block corresponds to him, while still knowing which vote was his by memory. For example, a voting machine may combine 25 votes into a block of a blockchain. A voter may receive a receipt with a hash of the block preceding the block with his vote. If the voter queries the blockchain with the hash, he may be presented with a list of 25 votes, each showing a code in correlation with the received vote selections. The voter may know which of the 25 votes of the block was actually his based on remembering the code he selected or was assigned at the time of voting, but no one else could know which vote was his. This may also preclude defamation attacks, wherein people falsely allege that their votes are not counted.

In some embodiments, a voting system may comprise a plurality of voting machines. Each voting machine may receive and report respective voting machine blockchains to another device which combines the blocks into a master voting log. In this way, voting logs of voting machines distributed throughout a voting area may be combined, tabulated, and secured. In some embodiments, this may happen in real time. Alternatively, records may be reported and secured periodically.

FIG. 5A is a diagram of a transmission of voting blocks, consistent with embodiments of the present disclosure. As illustrated in FIG. 5A, a voting system may comprise a plurality of voting machines 104A and 104B. The voting system may further comprise a server 108. Server 108 may comprise at least one server processor and at least one non-transitory server storage medium comprising server instructions that, when executed by the at least one server processor, cause the at least one server processor to perform server operations. For instance, server 108 may initialize a master blockchain with a master genesis block, and store the master blockchain in at least one server memory. Server 108 may be a plurality of individual devices or virtual machines. Server 108 may also operate as a voting machine 104. For example, voting machine 104A may produce a vote blockchain and a master blockchain. Server 108 may be a virtual machine running on a voting machine and connected to at least one other voting machine. The master blockchain genesis block may include a server identifier, time stamp, configuration (including software, hardware, and network configuration), and a master blockchain vote tally initialization.

Server 108 may iteratively, for each of the plurality of voting machines, receive a block of a vote blockchain of a voting machine. Server 108 may also receive a vote blockchain. For instance, as shown in FIG. 5A, a plurality of voting machines 104A, 104B produce respective voting machine blockchains 402, 502 based on received votes, for instance using process 300. When a block of a vote blockchain is completed, such as when a hash is calculated, the block may be transmitted to server 108. Thus, as shown in FIG. 5A, voting machine 104A transmits block 408 of blockchain 402 to server 408, and voting machine 104B transmits block 508 of blockchain 502 to server 108. Voting machines may transmit blocks each time a new block is completed, or voting machines may transmit blocks periodically by sequence, such as every fifth block, or by time, such as every fifteen minutes.

Server 108 may retrieve the master blockchain, which may be stored in a local memory. Alternatively, copies of the master blockchain may be disseminated, and server 108 may compare multiple blockchains stored on multiple devices by checking hash values to ensure that the blockchain has not been tampered with. Server 108 may then continue by creating a master data structure comprising the received block and a hash value of a preceding block of the master blockchain; determining a new master block hash value of the master data structure; appending a new master block comprising the master data structure and the new master block hash value to the master blockchain; and storing the master blockchain in the at least one server memory.

FIG. 5B illustrates this process of server 108. FIG. 5B is a diagram of a master blockchain, consistent with embodiments of the present disclosure. The voting blockchain blocks provided by voting machines 104A and 104B in FIG. 5A flow into master blockchain 520, as shown in FIG. 5B. Master blockchain 520 begins with a master genesis block 522. Master genesis block 522 contains a server ID, precinct field, and time stamp. In some embodiments, the master genesis block may also comprise an initial vote tally for the at least one category, the initial total vote tally indicating an initial total number of votes that have been recorded for the corresponding category. Master genesis block 522 includes a header having a hash value of the initialization information.

Data from block 408 is then incorporated into a master data structure of block 524. The master data structure of block 524 includes the reporting machine information (ID, precinct, and time stamped), as well as the hash value of the block. Thus, the reporting machine block hash value in the body of block 524 matches the header of block 408. The footer of block 524 matches the header of the preceding block (in this case, master genesis block 522). In some embodiments, server 108 may determine a previous total vote tally by accessing the preceding block of the master blockchain; and add a voting machine vote tally to the previous total vote tally to determine a new total vote tally, and the master data structure may comprise the new vote tally. Thus, as shown in FIG. 5B, block 524 records the vote tally as reported by block 408, specifically, one vote for Bobson and one vote for Dugnut. In some embodiments, server 108 may add new votes to the tally. For example, a voting machine may report new votes in a block, and server 108 may add the new votes to the previous tally. Alternatively, voting machine 104 may report a voting machine tally, and server 108 may search through the master blockchain, identify the last reported tally from the reporting voting machine, determine a difference between the previous voting machine tally and the current voting machine tally, and add the difference to the master blockchain tally.

Once server 108 completes the master data structure, the data structure is hashed, and the hash is added as a header to block 524. Hashes may be added anywhere in a block, and adding a hash to the header is merely an example embodiment. The header of block 524 then becomes the footer of master blockchain block 526, and data from block 508 is incorporated into block 526. The body and footer of block 526 are hashed, and the hash is recorded as the header of block 526. This sequence may repeat for a plurality of voting machine blocks throughout a voting period. New data from new voting machine blocks may be added to the master blockchain in sequence of reporting time, for instance. In some embodiments, received blocks may be held in a buffer before processing by server 108, such as when report volumes are high. Further, the voting system may include intermediary servers or other devices between voting machines and the master blockchain. Intermediary servers may collect data from a set of voting machines and create intermediary blockchains, which are then incorporated into a master blockchain. In this way, the voting system may prevent backlogs and missed data from a large number of voting machines and high vote frequencies. For example, if no intermediary servers are present, millions of votes may be reported in a short time period to server 108. Server 108 may be unable to collect, hash, and store each of the millions of vote reports. One solution is to provide voting machine blocks to server 108 at intervals, which may affect voting record fidelity as multiple votes are combined into one block. Alternatively, the blocks may be reported to an intermediary server connected to a subset of voting machines. For example, 2,000 voting machines may record 1,000 votes each in a day, resulting in 2,000,000 votes. If 100 intermediary servers are assigned to 20 voting machines each, each intermediary server needs to process 20,000 voting machine blocks. Each intermediary server may then report its blockchain every hour or every 1000 votes, for instance, to server 108, which would tabulate 100 intermediary blocks per hour. Because each block is hashed and contains a unique hash value, this system may produce a nested blockchain that permits faster processing time while maintaining an immutable, high fidelity record of cast votes. Additional layers of intermediary servers may also be included in the voting system, further reducing the processing and network capabilities of each individual server, improving redundancy, limiting the possibility of widespread outages, improving overall vote processing times, and further complicating efforts to commit fraud be increasing voting system complexity. In some cases, such as when a precinct disallows wireless connectivity or connectivity to machines outside of the precinct, the network of voting machines may be limited to voting machines connected, e.g., via ethernet, and collocated at a precinct or other location.

Server 108 may add a revelations block to the end of the master blockchain. The revelations block may reveal a final tally of votes in the blockchain. For example, server 108 may determine a final tally of votes sorted by type (e.g., blank ballots, complete ballots, partial ballots, errant ballots, ballots with write-in candidates, absentee ballots, party affiliation, election identifier, etc.). Server 108 may also provide a final tally of votes by election category and selection (e.g., votes for candidate A or candidate B, votes for or against an issue, or a combination thereof). Final tally by type and final tally by selection may be incorporated into a revelations block data structure. Final tallies may also represent an aggregation of vote blockchains of a plurality of voting machines. Server 108 may create the revelations block after a voting period ends. Server 108 may receive an indication that polls have closed, or determine that a voting period has concluded based on a preselected time. Server 108 may recalculate the master blockchain as part of the revelations block process. Server 108 may confirm each hash value recorded in the blockchain by recalculating hash values of stored data structures. Further, another machine, such as a voting machine 104, may independently recalculate the master blockchain and provide a confirmation to server 108. Thus, server 108 may receive and/or request one or more confirmations of hash value accuracy from a second or more voting machines prior to determining that the blockchain was correctly calculated and appending the revelations block to the vote blockchain. Server 108 may create a revelations block data structure comprising the final tally of votes and the hash value of the preceding block, determine a revelations block hash value of the revelations block data structure, and append the revelations block to the vote blockchain. If the final hash value as stored in the master blockchain matches a final recalculated hash value, server 108 may electronically sign the revelations block, and may publish, disseminate, and/or store the blockchain with the revelations block. Alternatively, if the final hash value does not match, server 108 may further omit signing the revelations block and may trigger an error or warning. Voting machine 104 may likewise produce a revelations block using similar techniques for an associated vote blockchain. In cases where a voting machine also operates as server 108, the voting machine may also produce a revelations block comprising aggregated tallies of a plurality of voting machines. In some embodiments, the presence of a revelations block on a blockchain may prevent inclusion of additional blocks. For example, voting machine 104 may search the vote blockchain prior to adding a new block, and may prevent addition of a new block to the vote blockchain in response to determining that a revelations block exists on the vote blockchain.

FIG. 6 is a flowchart illustrating a voter confirmation query process, consistent with embodiments of the present disclosure. As stated previously, a voting system may include a server or a plurality of servers. The servers may have access to a blockchain, such as a master blockchain, and voters may receive a printed receipt comprising a hash value associated with their votes. Process 600 of FIG. 6 may enable election officials to provide access to anonymized voting logs so that individual voters may confirm their vote was counted correctly, while not revealing the identity of any individual voters.

At step 602, server 108 may receive a query request from a user device, for instance, via the internet and an election official website. The query may contain a query hash value corresponding to a block recording the voter's vote and printed on a receipt given to the voter after scanning his ballot. Server 108 may determine a block of the blockchain comprising the query hash value at step 604. This step may comprise querying a database storing hash values in correlation to respective data structures, such as a SQL database created using data of a voting machine blockchain. At step 606, server 108 may retrieve a result data structure, and return the result data structure to the user device at step 608, for instance, on a website where the voter input the voter's hash value. In this way, the voter can view his particular votes, but only the voter will know these votes were his votes, as no one else will have a copy of the receipt showing the corresponding hash value, and no personal information is contained in the block along with the vote log. Although server 108 is recited in this example embodiment of process 600, any device may be used to query the database. That is, the server that creates the master blockchain and the server that responds to user queries may be, but are not necessarily, the same server.

Another way that fraud, or the appearance of fraud, enters traditional voting systems is that citizens have no evidence that only registered voters have voted. Although previously disclosed methods provide confidence than an individual's votes are counted and reported correctly, these methods are unable to provide confidence that no extra, illegal ballots were counted. To remedy this, the voting system may produce a voter check-in blockchain. The voter check-in blockchain may provide an immutable log of voters that have either checked in to a precinct in person and voters whose mail-in ballots have been received and opened. By comparing the number of checked-in voters to the tally reported in the master blockchain, voters may have confidence that no fake votes entered the system. Authorities may also be able to identify people who voted fraudulently, for instance, those who lied during registration to meet voting requirements and still voted, or double voted by submitting absentee ballots and voting in person. Further, if the voter check-in blockchain is timestamped, it may assist authorities in identifying imposters who claim someone else's identity when voting. In order to assure anonymity of actual votes, though, the voter check-in blockchain and voting machine blockchains may be kept separate by not providing personal information on ballots, such that there is a break in information flow between check-in and vote counting.

Thus, the voting system of the present disclosure may comprise at least one voter check-in terminal comprising: at least one terminal processor; and at least one non-transitory terminal storage medium comprising terminal instructions that, when executed by the at least one terminal processor, cause the at least one terminal processor to perform terminal operations. FIG. 7 is a flowchart illustrating a voter check-in confirmation method, consistent with embodiments of the present disclosure. At step 702, the voter check-in terminal may initialize a voter check-in blockchain with a voter check-in genesis block, the voter check-in genesis block comprising a check-in terminal identifier and store the voter check-in blockchain in at least one terminal memory at step 704. The voter check-in terminal may iteratively, for the plurality of voters, check in voters starting with receiving an indication of an identifier of a voter at step 706. For instance, a poll worker may select an option on a user interface of the voter check-in terminal indicating that the voter's ID has been checked, or inputting information from a voter such as driver's license number. At step 708, the voter check-in terminal accesses a data store comprising a list of registered voters. The list may be a database hosted by an election board, for instance, comprising registered voters. Further, the voter check-in terminal may access a master voter check-in blockchain on a server, such as server 108. The voter check-in terminal may determine if the identifier of the voter is present in the master check-in blockchain, thus determining if someone with the same voter identifier has already voted. The voter check-in terminal may then issue an error indicating that the voter may not vote again, or indicate that the voter must be provided a provisional ballot, and append to the check-in data structure an indication that the voter has already voted.

At step 710, the voter check-in terminal creates a check-in data structure containing the identifier in response to the voter being among the list of registered voters. In some embodiments, the check-in data structure may contain an indication that the voter has checked-in, without the identifier.

At step 712, voter check-in terminal determines a voter check-in hash value of the check-in data structure, and, at step 714, appends a new voter check-in block comprising the check-in data structure and the new voter check-in hash value to the voter check-in blockchain. Voter check-in terminal then stores the voter check-in blockchain in the at least one memory at step 716. The voter check-in block chain may also be disseminated to user devices, or blocks and/or blockchains provided to intermediary or master servers, similar to the methods described above in regard to voter blockchains. In this way, a separate blockchain recording an immutable log of voter check-ins may be created, and may contain timestamps of check-ins. This blockchain may also be made available to the public, so that any individual may query the voter check-in blockchain and see if someone voted in their name. Alternatively, election officials may decide to sanitize the blockchain, and record time stamps of check-ins, but not names of voters, to further ensure voter anonymity, if, for instance, local laws require hiding fact of voting. Nonetheless, a log of every check-in may be useful to identify fraud, such as if a voter check-in rate exceeds what a precinct is capable of handling, which may indicate fraudulent votes, or if a number of votes exceeds a number of check-ins.

In some embodiments, the voting system may be used to count mail-in ballots. When this occurs, the voting system may provide additional features to ensure integrity of a mail-in ballot system. These additional features may provide mail-in voters an opportunity to confirm that their vote was recorded, and was recorded properly, by querying a master voter check-in blockchain or a master voting log blockchain. However, because mail-in voters are not present to receive a receipt upon scanning their ballot, further steps are required.

When election officials receive mail-in ballots, the officials may use a voter check-in terminal to record that the ballot was received. In some embodiments, the voter check-in terminal may use the code provided to the voter on the ballot as a voter identifier, and ensure that the code matches a code database prior to counting the ballot. If the code matches a database of codes, then the voter may be checked in on a voter check-in block chain. If the code does not match, the ballot may be fraudulent. For example, if the codes are sufficiently complex, false ballots could not be printed because the ballots would not record verifiable voter codes as recorded in a master code database. Paper ballots mailed to mail-in voters may be provided with a code. Mail-in voters may be provided a receipt comprising the code, such as a perforated section of the mail-in ballot that a voter may separate and retain. Alternatively, a ballot may provide a section for a voter to provide a code, such as a string of characters and/or numbers. For example, the identifier of the voter may be a code provided on a paper ballot mailed to a voter. The code may be a string of characters, such as a PIN, a QR code, or a barcode.

After the ballot is marked as received, the ballot may be sent to a voting machine comprising a scanner for scanning When the ballot is scanned, the voting machine may determine the code based on an image provided by the scanner. For example, a paper ballot may provide a user with a receipt comprising a human-readable code, while the paper ballot may have printed thereon a computer-readable representation of the code, such as a QR code or barcode. The computer-readable representation may also be encrypted, such that a key is required to determine the code, further inhibiting fraud. Additionally, when the code is determined based on the image provided by the scanner of a voting machine, the voting machine may append the code to the data structure, and create a block of a voting machine blockchain comprising the ballot's vote and the ballot's code.

The voting system may provide a method for mail-in voters to verify that their vote is properly recorded in a master vote log blockchain. For example, the voting system may comprise a server such as server 108. The server may receive, from a user device, a query request comprising the code; determine a block of the blockchain comprising the code; retrieve a data structure corresponding to the determined block; and provide the data structure to the user device. Thus, while the master vote log blockchain is publicly-viewable, only the voter having a printed receipt provided with the ballot may determine which vote belonged to him, and can have confidence that his vote was properly recorded.

In some scenarios, a read-error may cause a ballot to be improperly recorded in a blockchain. However, because the blockchain is immutable, the errant ballot cannot be retracted. Thus, the voting system may provide a separate means to allow correction of votes, if, for instance, a voter notices that the vote corresponding to his hash value has incorrect results, or for provisional ballots. The voting system according to the present disclosure may therefore comprise a plurality of voting machines, wherein a set of the vote counting machines perform certain operations to count vote correction. Due to the risk of fraudulent corrections, such as someone finding another person's receipt and attempting to change the vote corresponding to the receipt, the correction blockchain may be segregated from the master blockchain, such as by being kept on a voting machine that is air gapped from other voting machines, or by being stored in a segregated memory, for instance, of a virtual machine. In some embodiments, a receipt comprising a hash value may be required in order to enter a vote correction.

FIG. 8 is a flowchart illustrating a vote correction method, consistent with embodiments of the present disclosure. Voting machine 104 may perform steps of process 800 shown in FIG. 8, for instance. Process 800 begins with step 802 to initialize a correction blockchain with a correction blockchain genesis block, the correction blockchain genesis block comprising a correction tally and a correction hash value. At step 804, voting machine 104 store the correction blockchain. At step 806, voting machine 104 receives a correction signal corresponding to a correction vote, such as a signal from a scanner with a ballot marked as a correction ballot. The correction ballot may also have a hash value corresponding to a block of a vote blockchain comprising the vote that is being corrected. At step 808, voting machine 104 retrieves a hash value of a preceding block, and, at step 810, voting machine 104 creates a correction data structure comprising the corrected vote, the correction tally, and a hash corresponding to an incorrectly-counted vote. In some embodiments, such as for provisional ballots, the data structure may further comprise a unique voter identifier, which may enable retrieval of the ballot once the provisional ballot is permitted to be counted. A map linking the unique voter identifier with the voter's identity may be stored, such as on voting machine 104 or another system, to enable linkage of a person's identity with a provisional ballot. Further, the selections of the provisional ballot may be encrypted prior to being stored on the blockchain to inhibit association of the unique voter identifier with the selections being made. At step 812, voting machine 104 determines a correction block hash value of the correction data structure; and at step 814, appends a correction block comprising the correction data structure and the correction block hash value to the correction blockchain. At step 816, voting machine 104 stores the correction blockchain in the at least one memory. The correction blockchain may also be distributed, encrypted, processed by intermediary servers, and/or combined with other correction blockchains into a master correction blockchain. A master correction blockchain may be combined with a master vote log blockchain to determine final election results. For instance, a list of hashes corresponding to authenticated provisional ballots (as well as unique voter identifiers, if, for instance, votes are added to the blockchain in batches) may be provided to voting machine 104, along with a decryption key, such as provided by an election official. Voting machine 104 may retrieve block corresponding to hashes in the list, decrypt the blocks, and tally the blocks. The tally may be added as an authenticated provisional ballot block in a vote and/or master blockchain. In some embodiments, the encryption may be homomorphic, such that a tally may be determined without decrypting individual authenticated provisional ballot selections. In this case, after blocks corresponding to authenticated ballots are isolated, the votes of the blocks may still be tallied without revealing individual selections. This may further protect privacy of voters who submit provisional ballots and may, as a result, have to provide personally identifiable information alongside their vote for post-authentication processing. Further, in some embodiments, the authenticated provisional ballot block may omit unique voter identifiers, or may include a code provided by a voter. For instance, when submitting a provisional ballot, a voter may include a code, such as a four-digit number. Voting machine 104 may omit from the blockchain the unique voter identifier used to identify the ballot in the blockchain when the voter's provisional ballot is authenticated, but include the voter's code. In this manner, a voter with a provisional ballot may view an authenticated provisional ballot block of the vote blockchain and identify his personal vote in the block, while his unique voter identifier is not recorded, thereby preventing another person from identifying the voter's vote. In some embodiments, the code may be assigned to the voter, randomly or from a list. This may prevent someone from forcing the voter to set the code to an agreed upon value, for instance, in exchange for a payment, compensation, or threat.

In some scenarios, someone may attempt to feed many fraudulent votes into a voting machine to sway election results, or corrupt a scanner or a scan interpretation software to preferentially collect votes for their preferred candidate. To safeguard against this, the voting system of the present disclosure may introduce increased hashing difficulty to slow counting and block reporting, thereby reducing the impact of such fraud. Process 900 of FIG. 9 illustrating a hash difficulty determination method, consistent with embodiments of the present disclosure. Process 900 may be implemented by voting machine 104, for instance.

At step 902, voting machine 104 calculates a first voting rate, the first voting rate representing a number of votes for one option of a category over a preceding first set of votes; and at step 902, calculates a second voting rate, the second voting rate representing a number of votes for one option of a category over a preceding second set of votes, the second set of votes comprising the first set of votes. For example, the first voting rate may be a number of votes for candidate A out of a preceding 50 votes, while the second voting rate may be a number of votes for candidate A out of a preceding 500 votes. The voting rates may also be a ratio of candidate A to candidate B, for instance, or a ratio of votes for to votes against an issue.

At step 904, voting machine 104 may determine if a difference between the first voting rate and second voting rate is above a threshold. If step 904 is YES, voting machine 104 may proceed to increase the threshold at step 906, and calculate a hashing difficulty at step 908. For example, a hashing difficulty may be a requirement that a first N characters of a new block hash value match a sequence. To meet this requirement, voting machine 104 may add a nonce value to a section of the block, and iteratively hash and select a new nonce value until the hash begins with, for example, a string of five zeros. This therefore increases the amount of time required to provide a hash and complete a block, thereby increasing the amount of time until a next vote may be counted. Further, the hashing difficulty may be based on a check-in rate representing a number of voter check-ins during a preceding time period. In this way, if many voters are arriving, the difficulty may remain low so as to enable quick processing of many voters, as fraud may be unlikely during busy voting periods. On the other hand, when check-in rates are slow, fewer people are present, the ability to commit fraud increases, and the need for quick counting decreases. Thus, hashing difficulty may be higher. At step 910, voting machine 104 increases the hashing difficulty, and returns to step 902 to calculate new voting rates.

Alternatively, if the difference is below the threshold at step 904, step 904 is NO, and voting machine 104 may decrease the threshold at step 912, calculate a hashing difficulty at step 914, and decrease the hashing difficulty at step 916. In this way, voting machine 104 may have a hashing difficulty that is proportional to a difference between the first voting rate and the second voting rate.

FIG. 10 is a diagram illustrating an example hash difficulty over time, consistent with embodiments of the present disclosure. FIG. 10 may result from operation of process 900. As shown in FIG. 10, an initial voting ratio for candidate A to candidate B is approximately 1.13, meaning candidate A receives 13% more votes than candidate B in the past hour, for instance. As time goes on, however (or, in some embodiments, as additional votes are added), the ratio of A to B jumps suddenly to 1.38 at time t=13 hours. Thus, during the preceding hour, an unusual number of votes for candidate A were scanned. The short term average therefore exceeds a long term average, and the difficulty increases, indicating that voting machine 104 requires additional time to count ballots, slowing down the ability to inject large batches of ballots for a single candidate.

However, as additional ballots are added, the ratio remains fairly constant, indicating that the jump may have been due to a different demographic casting ballots in a different frequency than a first demographic. Thus, the short-term average and long-term average begin to converge (not shown), and the hashing difficulty decreases back to a low difficulty, allowing quick vote counting as the likelihood of fraud decreases.

At time t=20, a large number off ballots are cast in favor of candidate B, such that the ratio drops from approximately 1.3 to 0.8. As a result, the hashing difficulty increases again to prevent someone from quickly counting a large number of possibly fraudulent votes. As time progresses, though, additional votes are cast in a similar ratio, indicating that yet another set of voters are consistently voting for candidate B over candidate A. Thus, likelihood of fraud decreases, and hashing difficulty decreases.

In some embodiments, hashing difficulty may be determined by a single category on a ballot, such as vote for president. Hashing difficulty may also be determined by a correlation function of ballots representing a similarity value between ballots having multiple categories. For example, if ballots comprise a category for president, senator, and representative, and a small set of ballots have identical votes for all three, hashing difficulty may increase quickly. However, if there are variations in the three selections among a set of ballots, the likelihood of fraud is decreased, and hashing difficulty may not increase as much. Further, in some embodiments, the hashing difficulty may be based on a proportional-integrative-derivative control. For example, the hashing difficulty may be a sum of values comprising a first value proportional to a current value of a difference, a second value proportional to a historic cumulative difference, and a third value proportional to a rate of change of a difference. Thus, a PID-controlled hashing difficulty may provide greater fidelity fraud detection, and also serve as a flag of potential issues for later analysis.

Process 900 thereby slows fraud in real-time, while providing an indication to citizens that a section of a blockchain may be fraudulent. Process 900 may also be used for identifying fraudulent transactions in a blockchain, such as currency transactions, by identifying and slowing spending rates, for instance. Citizens may then later analyze a blockchain and see when and where fraud may have occurred. Citizens may also independently review voting rates, and determine fraud as being the absence of an increased difficulty when increased difficulty should have been triggered. When this is identified, an individual ballot box may be hand counted, reducing the cost and duration of hand counting, and providing prompt election results.

A further embodiment of the present disclosure includes a computerized method of vote tallying comprising: initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a voting machine identifier hash value; storing the vote blockchain in at least one voting machine memory; iteratively, for a plurality of voters: receiving a signal indicating at least one vote made by a voter; creating a data structure comprising the at least one vote and a hash value of a preceding block; calculating a hash difficulty based on a vote trend and a voter check-in rate, the vote trend representing a percentage of votes for a candidate of a plurality of candidates out of a number of preceding votes, the voter check-in rate representing a number of voters arriving during a time period, wherein the hash difficulty represents a number of characters of a hash value that match a predetermined sequence; determining a new block hash value of the data structure, the new block hash value beginning with the number of characters of the predetermined sequence determined by the hash difficulty; appending a new block comprising the data structure and the new block hash value to the vote blockchain; printing a receipt with the new block hash value; and printing the new block hash value on a paper ballot scanned to provide the received signal.

Particular embodiments of the present disclosure may be implemented into any of a variety of circuitry, including programmable logic devices (“PLDs”), field programmable gate arrays (“FPGAs”), programmable array logic (“PAL”) devices, or as application specific integrated circuits. Further embodiments may include microcontrollers with memory (such as EEPROM), embedded microprocessors, firmware, software, etc. In some embodiments, the computerized methods of the present disclosure may be provided on a non-transitory computer readable storage medium, which causes one or more processors to perform the operations of the present disclosure.

Various embodiments disclosed herein may be realized using any number of combinations of hardware, firmware, software, or non-transitory computer-readable storage medium Computer-readable media in which such formatted data or instructions may be embodied include, but are not limited to, non-volatile storage media in various forms (e.g., optical, magnetic or semiconductor storage media), CDs, DVDs, hard drives, flash drives, SD disks, and the like. Further, devices of the present disclosure may communicate using carrier waves that may be used to transfer such formatted data or instructions through wireless, optical, or wired signaling media or any combination thereof. Examples of transfers of such formatted data or instructions by carrier waves include, but are not limited to, transfers (uploads, downloads, e-mail, etc.) over the Internet or other computer networks via one or more data transfer protocols (e.g., HTTP, FTP, SMTP, and so on).

As used in the present disclosure, “or” is inclusive and not exclusive, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A or B” means “A, B, or both,” unless expressly indicated otherwise or indicated otherwise by context. Moreover, “and” is both joint and several, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A and B” means “A and B, jointly or severally,” unless expressly indicated otherwise or indicated otherwise by context.

This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. 

1. A voting system comprising: at least one voting machine comprising: at least one voting machine processor; and at least one non-transitory voting machine storage medium comprising instructions that, when executed by the at least one voting machine processor, cause the at least one voting machine processor to perform voting machine operations comprising: initializing a vote blockchain with a vote blockchain genesis block, the vote blockchain genesis block comprising a voting machine identifier and a genesis block hash value; creating a data structure comprising a plurality of votes and a hash value of a preceding block; determining a new block hash value of the data structure; appending a new block comprising the data structure and the new block hash value to the vote blockchain; and storing the vote blockchain in the at least one voting machine memory.
 2. The voting system of claim 1, wherein the data structure further comprises a plurality of codes, each code corresponding to a vote of the plurality of votes.
 3. The voting system of claim 1, wherein the at least one voting machine further comprises a printer, and the voting machine operations further comprise: printing a receipt, the receipt recording a hash value of the preceding block.
 4. The voting system of claim 1, wherein the voting machine operations further comprise: displaying an entered vote on a user interface; and receiving an indication confirming that the entered vote was accurate prior to printing the receipt.
 5. The voting system of claim 1, wherein the at least one voting machine further comprises a printer, and the voting machine operations further comprise: printing a receipt, the receipt recording a section of a hash value of the preceding block.
 6. The voting system of claim 1, wherein the at least one voting machine further comprises a printer, and the voting machine operations further comprise: printing the hash value of the preceding block on a paper ballot, the paper ballot being scanned to provide a signal indicating a vote among the plurality of votes.
 7. The voting system of claim 1, wherein the data structure comprises a scanned image of a paper ballot, the paper ballot being scanned to provide a signal indicating a vote among the plurality of votes.
 8. The voting system of claim 1, wherein the data structure includes a review flag in association with a vote in response to detecting a write-in candidate submission.
 9. (canceled)
 10. (canceled)
 11. The voting system of claim 1, wherein: the at least one voting machine comprises a scanner; and the voting machine operations further comprise: receiving a scanned image of a paper ballot; and adding a review flag to the data structure in response to detecting that the scanned image contains a hash value.
 12. The voting system of claim 1, wherein the voting machine operations further comprise: iteratively, for a plurality of blocks of the vote blockchain: calculating, based on data stored in a block, an audit hash value; comparing the audit hash value to a hash value stored in the block; and preventing additional blocks being added to the blockchain in response to the audit hash value not matching the hash value stored in the block.
 13. The voting system of claim 12, wherein the plurality of blocks is chosen randomly.
 14. The voting system of claim 1, wherein the voting machine operations further comprise: receiving a list of hash values corresponding to authenticated provisional ballots; receiving a decryption key; retrieving blocks corresponding to hash values of the list; decrypting votes contained in the retrieved blocks; tallying the decrypted votes; and appending a tally block to the vote blockchain comprising the tallied decrypted votes and a tally block hash value.
 15. The voting system of claim 1, wherein the voting machine operations further comprise: determining that a voting period has concluded based on a preselected time; recalculating hash values stored in the vote blockchain; determining a final tally of votes; creating a revelations block data structure comprising the final tally of votes and the hash value of the preceding block; determining a revelations block hash value of the revelations block data structure; and appending the revelations block to the vote blockchain.
 16. (canceled)
 17. (canceled)
 18. (canceled)
 19. The voting system of claim 15, wherein the voting machine operations further comprise: preventing addition of a new block to the vote blockchain in response to determining that the revelations block exists on the vote blockchain.
 20. (canceled)
 21. A voting machine comprising: at least one processor; and at least one non-transitory storage medium comprising instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising: initializing a blockchain with a genesis block, the genesis block comprising a voting machine identifier; receiving a signal representing a vote; creating a data structure comprising the vote and a hash value of a preceding block of the blockchain; determining a new block hash value of the data structure; and appending a new block comprising the data structure and the new block hash value to the blockchain.
 22. The voting machine of claim 21, wherein the operations further comprise: establishing communication with a voting machine network via a wired connection, wherein at least one secondary voting machine is connected to the voting machine network.
 23. The voting machine of claim 22, wherein the operations further comprise: disseminating the new block of the blockchain to at least one secondary voting machine.
 24. The voting machine of claim 23, wherein the operations further comprise: accessing, from a memory of the voting machine, a local copy of a most recent block; querying at least one secondary voting machine to retrieve a secondary copy of the most recent block; accepting an additional signal representing an additional vote in response to a hash of the local copy matching a hash of the secondary copy; and adding a fraud notification to the data structure in response to the hash of the local copy not matching the hash of the secondary copy.
 25. The voting machine of claim 24, wherein the operations further comprise: preventing reception of an additional signal representing an additional vote in response to the hash of the local copy not matching the hash of the secondary copy.
 26. (canceled)
 27. The voting machine of claim 21, wherein the operations further comprise: providing an instruction to print the new hash value on a paper ballot.
 28. The voting machine of claim 21, wherein the operations further comprise: encrypting the blockchain; and decoding the blockchain after preventing reception of an additional signal representing an additional vote.
 29. The voting machine of claim 21, wherein the blockchain comprises a plurality of vote tallies, each vote tally corresponding to a category of a plurality of categories.
 30. (canceled)
 31. The voting machine of claim 21, wherein the operations further comprise: determining a difference between a first voting rate and a second voting rate, wherein the first voting rate is measured over a first period of time, and the second voting rate is measured over a second period of time, the second period of time being longer than the first period of time; and storing an indicator of the difference in the data structure.
 32. The voting machine of claim 31, wherein the operations further comprise: setting a hashing difficulty based on the difference.
 33. The voting machine of claim 31, wherein the operations further comprise: setting a hashing difficulty based on a historical cumulative difference of the first voting rate and the second voting rate.
 34. The voting machine of claim 31, wherein the operations further comprise: setting a hashing difficulty based on a rate of change of the difference.
 35. The voting machine of claim 31, wherein the operations further comprise: comparing the difference to a threshold; increasing the threshold and increasing a hashing difficulty in response to the difference exceeding the threshold; and decreasing the threshold and decreasing the hashing difficulty in response to the difference being less than the threshold.
 36. The voting machine of claim 21, wherein the operations further comprise: receiving a plurality of signals provided by a plurality of ballots; and setting a hashing difficulty based on a similarity value of the plurality of ballots.
 37. (canceled)
 38. The voting machine of claim 21, wherein the operations further comprise: determining a code included on a paper ballot; and including the code in the data structure.
 39. (canceled)
 40. A non-transitory computer-readable storage medium comprising instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising: initializing a blockchain with a genesis block, the genesis block comprising a voting machine identifier; receiving, from a scanner, a scanned representation of a paper ballot comprising a code and at least one vote; creating a data structure comprising the code, the vote, and a hash value of a preceding block of the blockchain; determining a new block hash value of the data structure; appending a new block comprising the data structure and the new block hash value to the blockchain; and disseminating the new block of the blockchain to at least one secondary voting machine via a wired connection. 